home *** CD-ROM | disk | FTP | other *** search
/ Delphi 2.0 - Programmer's Utilities Power Pack / Delphi 2.0 Programmer's Utilities Power Pack.iso / s_to_z / sysfile / protdlg.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  1996-09-15  |  629 b   |  36 lines

  1. unit Protdlg;
  2.  
  3. interface
  4.  
  5. uses
  6.   SysUtils, WinTypes, WinProcs, Messages, Classes, Graphics, Controls,
  7.   Forms, Dialogs, StdCtrls, Buttons, ExtCtrls;
  8.  
  9. type
  10.   TProtectDlg = class(TForm)
  11.     Panel1: TPanel;
  12.     ProtMemo: TMemo;
  13.     Label1: TLabel;
  14.     ProtOK: TBitBtn;
  15.     procedure ProtOKClick(Sender: TObject);
  16.   private
  17.     { Private declarations }
  18.   public
  19.     { Public declarations }
  20.   end;
  21.  
  22. var
  23.   ProtectDlg: TProtectDlg;
  24.  
  25. implementation
  26.  
  27. {$R *.DFM}
  28.  
  29. procedure TProtectDlg.ProtOKClick(Sender: TObject);
  30. begin
  31.   if ProtMemo.Modified or not FileExists(SysFileIni) then begin
  32.   end;
  33. end;
  34.  
  35. end.
  36.